package com.designed.pattern.creational.factorymethod.core;

/**
 * @author yifei
 * @description
 * @date 2024/1/1
 **/
public class Sub extends Operation {
    @Override
    public double getResult(double numberA, double numberB) {
        return numberA - numberB;
    }
}
